package hcn.protocol.ods.commonClinical.req.inspectionHisXML;

import com.alibaba.fastjson.annotation.JSONField;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

@XmlRootElement(name = "MsgBody")
public class QueryInspectionItemDtailNewReq implements Serializable {

    private InnerRequest request;

    @XmlRootElement(name = "Request")
    public static class InnerRequest{
        private String VisitOrganization;//医院代码

        private String ItemCode;//检验项目代码
        @JSONField(name = "VisitOrganization")
        @XmlElement(name = "VisitOrganization")
        public String getVisitOrganization() {
            return VisitOrganization;
        }

        public void setVisitOrganization(String visitOrganization) {
            VisitOrganization = visitOrganization;
        }
        @JSONField(name = "ItemCode")
        @XmlElement(name = "ItemCode")
        public String getItemCode() {
            return ItemCode;
        }

        public void setItemCode(String itemCode) {
            ItemCode = itemCode;
        }

        @Override
        public String toString() {
            return "Request{" +
                    "VisitOrganization='" + VisitOrganization + '\'' +
                    ", ItemCode='" + ItemCode + '\'' +
                    '}';
        }
    }


    @XmlElement(name = "Request")
    public InnerRequest getRequest() {
        return request;
    }

    public void setRequest(InnerRequest request) {
        this.request = request;
    }
}
